From: Keir Fraser Date: Tue, 22 Apr 2008 13:40:34 +0000 (+0100) Subject: x86/hvm: fix copy-and-paste mistakes X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14215^2~142 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22?a=commitdiff_plain;h=e747e6704361f7906440e006a3e25ea33b39ebac;p=xen.git x86/hvm: fix copy-and-paste mistakes Signed-off-by: Jan Beulich --- diff --git a/xen/arch/x86/hvm/hvm.c b/xen/arch/x86/hvm/hvm.c index bdff1d460c..5056896af5 100644 --- a/xen/arch/x86/hvm/hvm.c +++ b/xen/arch/x86/hvm/hvm.c @@ -494,14 +494,14 @@ static int hvm_load_cpu_ctxt(struct domain *d, hvm_domain_context_t *h) ((ctxt.cr0 & (X86_CR0_PE|X86_CR0_PG)) == X86_CR0_PG) ) { gdprintk(XENLOG_ERR, "HVM restore: bad CR0 0x%"PRIx64"\n", - ctxt.msr_efer); + ctxt.cr0); return -EINVAL; } if ( ctxt.cr4 & HVM_CR4_GUEST_RESERVED_BITS ) { gdprintk(XENLOG_ERR, "HVM restore: bad CR4 0x%"PRIx64"\n", - ctxt.msr_efer); + ctxt.cr4); return -EINVAL; }